package com.zyb.warehouse.service;

import com.zyb.warehouse.common.Result;
import com.zyb.warehouse.dto.Page;
import com.zyb.warehouse.entity.OutStore;

/**
 * Description:出库表业务层接口
 */
public interface OutStoreService {

    /**
     * 添加出库单
     *
     * @param outStore
     * @return
     */
    Result addOutStore(OutStore outStore, String token);

    /**
     * 分页查询出库单
     *
     * @param page
     * @param outStore
     * @return
     */
    Page pageOutStore(Page page, OutStore outStore);

    /**
     * 确认出库
     *
     * @param outStore
     * @return
     */
    Result confirmOutStore(OutStore outStore);
}
